﻿//////////////////////////////////////////////////////////////////
//
// InternalPipe.cs
//
// Copyright (c) 2012 Dan Pike. All rights reserved
//
// Refer to license.txt for any license restrictions.
// 
using log4net;
using System;
using System.Collections.Generic;
using System.Text;
using Logger4Net;

namespace Logger4Net.Appender
{
   public class InternalPipe : log4net.Appender.AppenderSkeleton
   {
      protected override void Append(log4net.Core.LoggingEvent loggingEvent)
      {
         LoggerPipe.write(new LoggerPipe.LoggingEvent(loggingEvent, RenderLoggingEvent(loggingEvent)));
      }
   }
}
